// component/goods-card/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    imagePath: String,
    storeName: String,
    price: String,
    num: String,
    title: String,
    clickNum: String,
    showMargin: {
      type: Boolean,
      value: true
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    goGoods() {
      this.triggerEvent('tap')
    }
  }
})
